package cn.sccl.dirms.topo.discovery.service.impl;

import cn.sccl.common.dao.BaseDAO;
import cn.sccl.common.service.impl.BaseManagerImpl;
import cn.sccl.dirms.topo.discovery.dao.DiscoverReTaskRuleDAO;
import cn.sccl.dirms.topo.discovery.model.DiscoverReTaskRule;
import cn.sccl.dirms.topo.discovery.service.DiscoverReTaskRuleManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* 自动发现任务与规则的关系表 的Manager实现类
* Created by _minus on 2017-09-25.
*/
@Service
public class DiscoverReTaskRuleManagerImpl extends BaseManagerImpl<DiscoverReTaskRule> implements DiscoverReTaskRuleManager{

    @Autowired
    private DiscoverReTaskRuleDAO discoverReTaskRuleDAO;

    public DiscoverReTaskRuleDAO getDiscoverReTaskRuleDAO(){
        return discoverReTaskRuleDAO;
    }

    @Override
    public BaseDAO<DiscoverReTaskRule> getBaseDAO(){
        return getDiscoverReTaskRuleDAO();
    }
}